package com.ruantu.clothing.dao;

import com.ruantu.clothing.entity.Zhekoucelue;

public interface ZhekoucelueMapper {
    int deleteByPrimaryKey(String id);

    int insert(Zhekoucelue record);

    int insertSelective(Zhekoucelue record);

    Zhekoucelue selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Zhekoucelue record);

    int updateByPrimaryKey(Zhekoucelue record);

    /**
     * 查询是否存在折扣
     *
     * @param zhekoucelue
     * @return
     */
    int findCountByJgidAndKehuId(Zhekoucelue zhekoucelue);

    /**
     * 更新折扣
     *
     * @param zhekoucelue
     * @return
     */
    int updateZhekou(Zhekoucelue zhekoucelue);
}